package com.qianf.qfoffice.service.impl;


import com.qianf.qfoffice.dao.AskforleaveDao;
import com.qianf.qfoffice.entity.Askforleave;
import com.qianf.qfoffice.service.AskforleaveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;



@Service
public class AskforleaveServiceImpl implements AskforleaveService {

    @Autowired
    private AskforleaveDao askforleaveDao;

    @Override
    public int insertAskforleave(Askforleave askforleave) {
        return askforleaveDao.insertAskforleave(askforleave);
    }


    @Override
    public int  updateAskforleave(Askforleave askforleave) {
        return askforleaveDao.updateAskforleave(askforleave);
    }



}
